package com.cx.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.cx.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.*;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author cx
 * @since 2024-06-07
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select *from t_user ${ew.customSqlSegment}")
    IPage<User> getUserListPageConditions(IPage page, @Param(Constants.WRAPPER) LambdaQueryWrapper wrapper);
}
